package com.longcai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
/**
 * 在注册中心发现服务
 */
@EnableDiscoveryClient
@EnableFeignClients//表示为Fegin客户端+
public class ClyjElectricityAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(ClyjElectricityAuthApplication.class, args);
    }

}
